export default {
  200: '成功！',
  201: '成功！',
  202: '验证码错误！',
  203: '访问过快，请稍等几秒再访问！',
  204: '授权过期！',
  301: '资源已被移除！',
  400: '参数列表错误！',
  403: '暂无权限访问！',
  404: '资源未找到！',
  500: '服务器异常！',
  default: '系统未知错误，请反馈给管理员'
}

export class Code {
  static readonly SUCCESS = 200
  static readonly NEED_DECRYPTION = 201
  static readonly CODE_ERROR = 202
  static readonly TRIGGER_LIMIT = 203
  static readonly AUTH_EXPIRES = 204
  static readonly MOVED_PERM = 301
  static readonly BAD_REQUEST = 400
  static readonly UNAUTHORIZED = 403
  static readonly HAD_USER = 404
  static readonly NOT_FOUND = 404
  static readonly NON_USER = 404
  static readonly SERVER_ERROR = 500
}
